Online documentation - Websydian v6.5
|
Deploying Websydian CWA Applications on Apache for Windows
- Before continuing make sure you have Generated and Built your
Websydian Application.
- Download and install the Apache HTTP Server from the Apache
organization at http://httpd.apache.org . Make sure
to install as a console application, not as a service.
- Create a directory on the Web Server where you will install the
Websydian application. e.g. c:\apache\webdemo.
- Copy the files located in your "release" directory to the
Websydian directory just created.
- Create a directory called html as a subdirectory to the
Websydian directory. e.g. c:\websydian\webdemo\html.
- Copy your Document Templates to the html directory.
- From your CA Plex "bin" library copy the CA Plex runtime DLL's
to the Websydian directory.
Further information on which DLL's to copy see the CA Plex
help.
- If using any Active-X controls make sure to copy these
too.
- Open the ini-file located in the Websydian directory with the
notepad.
Check the section [HTML] for the following settings:
[HTML]
PATH=.\HTML\
DATE=dd/mm/yyyy
TIME=hh:mm:ss
TIMESTAMP=dd/mm/yyyy hh:mm:ss
Make sure the DATE, TIME, and TIMESTAMP has the correct
format for your Websydian Application.
- Open the Apache configuration file httpd.conf. This file is
located under the conf directory of the Apache installation
directory.
- Find the first occurance of the statement ScriptAlias and add a
ScriptAlias statement to the configuration file.
ScriptAlias /webdemo/ "C:/Apache/webdemo/"
The ScriptAlias name "/webdemo/" is case sensitive by
default.
Below the Script Alias add a Directory section for the
authoriazation of the directory described under the
ScriptAlias.
<Directory "c:/Apache/webdemo">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
Select the "Start Apache in console" from the menu item created
during installation of the Apache HTTP Server. This will start the
Apache HTTP Server in a console which will be shown as a window
holding no information.
Default installation of the Apache HTTP Server as a console
application sets the listening port to 8080. Change this by
changing the value of the Listen statement in the configuration
file.
In order to check if the Apache HTTP Server is running, try
accessing the server from the browser http://localhost:8080.
- As the Apache HTTP Server is running as a program under the
current user just access your web application from your internet
explorer to test your application.
http://localhost:8080/webdemo/dispat.exe
Further information on the Apache HTTP Server can be found at
http://www.apache.org/